package lzc.demo.spring.ms;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import de.codecentric.boot.admin.config.EnableAdminServer;

/**
 * 程序启动入口
 *
 */
@SpringBootApplication // springBoot注解,spring在springBoot基础之上来构建项目
@EnableAdminServer
@EnableDiscoveryClient // eureka
public class App {
	
	// spirng boot的标准入口
	public static void main(String[] args) {
		new SpringApplicationBuilder(App.class).web(true).run(args);
	}

}
